package com.medical.system.api;

import com.medical.system.model.dto.LoginInforDTO;
import com.medical.feign.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "service-system", contextId = "loginInfo", configuration = FeignConfig.class)
public interface RemoteLoginInforService {

    @PostMapping ("/api/v1/loginInfor/save")
    void saveLoginInfo(LoginInforDTO loginInforDTO);
}
